package com.jhhc.FloodForecast.Sensor.ServiceImpl;

import java.util.List;

import com.jhhc.BDMS.Data.Pojo.StationBO.SensorConfig;
import com.jhhc.FloodForecast.Sensor.Pojo.*;
import com.jhhc.FloodForecast.Sensor.Dao.BDMS_ST_SENSOR_BMapper;
import com.jhhc.FloodForecast.Sensor.Service.BDMS_ST_SENSOR_BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class BDMS_ST_SENSOR_BServiceImpl implements BDMS_ST_SENSOR_BService {
    @Autowired
    private BDMS_ST_SENSOR_BMapper sensor_bMapper;


    @Override
    public List<BDMS_ST_SENSOR_B> selectByPID(Integer pid) {
        return sensor_bMapper.selectByPID(pid);
    }
    @Override
    public List<BDMS_ST_SENSOR_B> selectByPid(Integer pid) {
        return sensor_bMapper.selectByPid(pid);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectByStcds(List<String> stcd) {
        return sensor_bMapper.selectByStcds(stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectBySTCD(Integer pid, List<String> stcd) {
        // TODO Auto-generated method stub
        return sensor_bMapper.selectByPIDSTCD(pid, stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectTwcByStcds(List<String> stcd) {
        return sensor_bMapper.selectTwcByStcds(stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectBySTCD29(Integer pid, List<String> stcd) {
        return sensor_bMapper.selectByPIDSTCD29(pid, stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> queryDisnetStcd(Integer pid) {
        return sensor_bMapper.queryDisnetStcd(pid);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectNewsData(Integer pid) {
        return sensor_bMapper.selectNewsData(pid);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectBySTCDS(List<String> stcd) {
        return sensor_bMapper.selectBySTCDS(stcd);
    }

    @Override
    public BDMS_ST_SENSOR_B selectbyStcd(String stcd) {
        return sensor_bMapper.selectByStcd(stcd);
    }

    @Override
    public BDMS_ST_SENSOR_B selectOneByStcd(Integer pid, String stcd) {
        return sensor_bMapper.selectOneByStcd(pid, stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectByDataCodes(Integer pid, List<String> dataCodes) {
        return sensor_bMapper.selectByDataCodes(pid,dataCodes);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectReportForms(List<String> pid) {
        return sensor_bMapper.selectReportForms(pid);
    }

    @Override
    public BDMS_ST_SENSOR_B selectStnm(String stcd) {
        return sensor_bMapper.selectStnm(stcd);
    }

    @Override
    public List<BDMS_ST_SENSOR_B> selectRealTimeHydrologic29(Integer pid, List<String> stcd) {
        return sensor_bMapper.selectRealTimeHydrologic29(pid,stcd);
    }


}
